package cn.t.dto.api;


import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
public class StartTaskDTO implements Serializable {
  //流程定义ID")
    private @NotBlank(
            message = "流程定义ID不能为空"
    ) String processId;
  //订单号")
    private @NotBlank(
            message = "订单号不能为空"
    ) String orderNo;
  //订单金额")
    private BigDecimal totalAmount;
  //审批说明")
    private String comment;
  //审批附件")
    private List<String> attachments;
  //流程表单关键信息json形式,建议将所有参数都序列化")
    private String formData;
}